package pers.qianyu.module.core.domain.image.query;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author mizzle rain
 * @date 2021-04-07 16:22
 */
public class FollowedUserImageQuery implements Serializable {
    private static final long serialVersionUID = -4900969706782726527L;
    private Integer page = 1;
    private Integer limit = 10;
    @NotNull(message = "用户id不能为空")
    private Long userId;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
